# -*- coding: utf-8 -*-

'''
Created on 01.06.2011

@author: Vlasov A. I. <root@proscript.ru>
'''
from django import template

from okno.models import Statement

register = template.Library()

@register.inclusion_tag('okno/last_statements.html')
def last_statements():
    return { 'statements': Statement.objects.all()[:10]}



